CUBE CONNECT Edition Help

Importing Network Data

CUBE 7 introduces a new database format network with support for shapes and data synchronization across the different network components such as transit, non-transit, turn penalty, junction and toll set data. The following sections cover how to import your CUBE 6 highway, transit, and non-transit network data to CUBE 7 database.

Import CUBE 6 .NET highway network

  1. Open CUBE toolbox:CUBE Menu > View > CubePy Toolbox

  2. Double-click and open the tool Convert Network from CUBE 6 NET to CUBE 7

  3. Input > CUBE6 Network (.NET):Input CUBE 6 Binary Network File (*.NET) containing the network that you want to import to CUBE 7 database
  4. Input > Set the spatial reference code:Spatial reference ID of the input network. If not provided (empty), the tool will use the default EPSG:3857 WGS 84. The spatial reference used here should be the same as the one for the original source, from which the network is built. This is usually a standard spatial reference used by the GIS data in the network region. For a list of supported spatial reference ids, please refer to https://spatialreference.org/. Having the correct spatial reference will make sure that the network is positioned in the correct location and scale on your maps. It is important to make sure that you use a geographic spatial reference if your network coordinates are in degrees or a projected spatial reference if otherwise.
  5. Output > CUBE 7 Database:Path to an existing database or a new database.
  6. Output > Network Name:Name of the output network
  7. Click Runto start the import process

The Output tab will show the results of the import process

Import CUBE 6 True Shape/Geo-database highway network

If you have a CUBE 6 native format network (.net) with true shapes or a geo-database (.mdb/.gdb) network, you can import the network into CUBE 7 database with the existing link shapes.

CUBE 6 .net files with true shape: Open the network in CUBE 6 along with true shape turned on and export the link and node layers as shape files.

CUBE 6 geo-database network: From the CUBE 6 data manager, export the link and node layers of the highway network into link and shape files.

The steps below show how to build a CUBE 7 network from the link/node shapes exported from CUBE 6.

  1. From the toolbox, open the Build CUBE Network From Shape Files tool.

  2. Input > Link Polylines:Browse and select the network link shape file (.shp)
  3. Input > Link Polylines:Browse and select the network node shape file (.shp)
  4. Input > Included data sources:Select Node and Link
  5. Network Details > Grouping tolerance:The tolerance used for grouping nodes. Use a very low value such as 0.000001. Setting this parameter to a very low value will make sure that nodes which are close together are not grouped into one node.
  6. Network Details > Starting node number:Enter a number for the starting highway node (non-centroid nodes). This value should be higher than the maximum number of zones in the network.
  7. Network Details > Max zone number:The maximum zone numbers in the network.
  8. Network Details > Set the Spatial Reference Code:: Enter a spatial reference id if your link and node shapes do not include the projection information. For a list of supported spatial reference ids, please refer to https://spatialreference.org/
  9. Network Details > Ignore all attributes:Keep this option unselected. If you select this option, the imported CUBE 7 network will not include the link and node attributes from the original network.
  10. Output > CUBE 7 Database: Path to an existing database or a new database.
  11. Output > Network Name:Name of the output network
  12. Click Run to start import process

Import Transit System Data

  1. From the toolbox, open the Convert PT System File from CUBE 6 to CUBE 7tool

  2. Input > CUBE PT System:Browse and select the CUBE 6 PT System file (*.pts)
  3. Input > CUBE 7 Database: Browse and select the existing CUBE 7 database
  4. Input > Network NameEnter the name of the existing CUBE 7 network
  5. Click Run to start import process

Import Transit Line Data

  1. From the toolbox, open the Convert PT Lines from CUBE lin to CUBE 7 tool.

  2. Input > CUBE 6 PT Lines:Browse and select the PT Line file (*.lin). If you have the network in a CUBE 6 geo-database, export it to a line from Data Manager in CUBE 6.
  3. Input > CUBE 7 Database:Browse and select the existing CUBE 7 database.
  4. Input > Network Name:Enter the name of the existing CUBE 7 network.
  5. Output > Transit Layer name:Enter the name of the new transit layer in the CUBE 7 network.
  6. Click Run to start import process

Import Transit Leg Data

  1. From the toolbox, open the Convert NTL from CUBE 6 to CUBE 7 tool.

  2. Input > CUBE 6 non-transit file:Browse and select the PT Transit leg file (*.ntl). If you have the network in a CUBE 6 geo-database, export it to a line from Data Manager in CUBE 6.
  3. Input > CUBE 7 Database:Browse and select the existing CUBE 7 database.
  4. Input > Network Name:Enter the name of the existing CUBE 7 network.
  5. Output > Transit Layer name:Enter the name of the new non-transit layer in the CUBE 7 network.
  6. Click Run to start import process